checkout: Use ot_util_new_file_for_path
authorColin Walters <walters@verbum.org>
Tue, 1 Nov 2011 00:22:34 +0000 (20:22 -0400)
committerColin Walters <walters@verbum.org>
Tue, 1 Nov 2011 00:22:34 +0000 (20:22 -0400)
src/libostree/ostree-checkout.c

index e4f09fb309d5b53efd1b16743152a8f7f0cb5e48..0569f287fb3696a64d456f128a49dc0d05ea81cd 100644 (file)
@@ -204,7 +204,7 @@ run_trigger (OstreeCheckout *self,
     {
       temp_path = g_build_filename (priv->path, basename, NULL);
       rel_temp_path = g_strconcat ("./", basename, NULL);
-      temp_copy = g_file_new_for_path (temp_path);
+      temp_copy = ot_util_new_file_for_path (temp_path);
 
       if (!g_file_copy (trigger, temp_copy, 0, NULL, NULL, NULL, error))
         goto out;